package yyh.jaccard.bean;



/**
 * @author YuanYuhu
 *  This represents the highest level.
 *
 */
public class SEBean {
	
	private String inhosptial_id;
	private String incase_scale_name;
	private String areadesp;
	private String orderid;
	private String clausedesp;
	private Double clausescores;
	
	
	public String getInhosptial_id() {
		return inhosptial_id;
	}
	public void setInhosptial_id(String inhosptial_id) {
		this.inhosptial_id = inhosptial_id;
	}
	public String getIncase_scale_name() {
		return incase_scale_name;
	}
	public void setIncase_scale_name(String incase_scale_name) {
		this.incase_scale_name = incase_scale_name;
	}
	public String getAreadesp() {
		return areadesp;
	}
	public void setAreadesp(String areadesp) {
		this.areadesp = areadesp;
	}
	public String getOrderid() {
		return orderid;
	}
	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}
	public String getClausedesp() {
		return clausedesp;
	}
	public void setClausedesp(String clausedesp) {
		this.clausedesp = clausedesp;
	}
	
	public Double getClausescores() {
		return clausescores;
	}
	public void setClausescores(Double clausescores) {
		this.clausescores = clausescores;
	}
	
	
	
	
	@Override
	public String toString() {
		return "SEBean [inhosptial_id=" + inhosptial_id
				+ ", incase_scale_name=" + incase_scale_name + ", areadesp="
				+ areadesp + ", orderid=" + orderid + ", clausedesp="
				+ clausedesp + ", clausescores=" + clausescores + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((areadesp == null) ? 0 : areadesp.hashCode());
		result = prime * result
				+ ((clausedesp == null) ? 0 : clausedesp.hashCode());
		result = prime
				* result
				+ ((incase_scale_name == null) ? 0 : incase_scale_name
						.hashCode());
		result = prime * result
				+ ((inhosptial_id == null) ? 0 : inhosptial_id.hashCode());
		result = prime * result + ((orderid == null) ? 0 : orderid.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		SEBean other = (SEBean) obj;
		if (areadesp == null) {
			if (other.areadesp != null)
				return false;
		} else if (!areadesp.equals(other.areadesp))
			return false;
		if (clausedesp == null) {
			if (other.clausedesp != null)
				return false;
		} else if (!clausedesp.equals(other.clausedesp))
			return false;
		if (incase_scale_name == null) {
			if (other.incase_scale_name != null)
				return false;
		} else if (!incase_scale_name.equals(other.incase_scale_name))
			return false;
		if (inhosptial_id == null) {
			if (other.inhosptial_id != null)
				return false;
		} else if (!inhosptial_id.equals(other.inhosptial_id))
			return false;
		if (orderid == null) {
			if (other.orderid != null)
				return false;
		} else if (!orderid.equals(other.orderid))
			return false;
		return true;
	}
	
	
}

